/**
 * @ author: 汪孟苹
 */
define([],function(){
	var tpl = {};
	tpl.queues = function(){
		var html = '';
		html += queues();
		return html;
	}
	tpl.tit = function(){
		var html = '';
		html += tit();
		return html;
	}
	
	var queues = function(){
		return 	'<script id="tpl_addPatient_queues" type="text/html">'+
				'{{each rows as value i}}'+
				'	<div class="queue-card {{if value.flag == true}} active{{/if}}" schemeId="{{value.schemeId}}" queueId="{{value.id}}">'+
				'		<i class="{{value.styleLogo}} queue-icon"></i>'+
				'		<div class="queue-name">{{value.queueName}}</div>'+
				'	</div>'+
				'{{/each}}'+
				/*'<div class="queue-add">'+
				'	<i class="fa fa-plus queue-icon"></i>'+
				'	<div class="queue-name">新增队列</div>'+
				'</div>'+*/
				'</script>';
	}
	var tit = function(){
		return 	'<script id="tpl_addPatient_tit" type="text/html">'+
				'	<h3 class="panel-title">{{queueName}}</h3>'+
				'</script>';
	}
	
	return tpl;
});